/**
 * Created by ritamashin on 2017/11/8.
 */
import {getApi} from './'


export function getHomePageBanner(channel = 'iOS') {
    return getApi('/v2/banners',{
        channel
    },{})
}

export function getGiftItemData(tagId , offset = 0 , gender = 1, generation = 2, limit = 20) {
    return getApi(`/v2/channels/${tagId}/items`,{
        gender,
        generation,
        limit,
        offset
    })
}

export function getSecondBannerData(gender, generation) {
    return getApi('v2/secondary_banners',{
        gender,
        generation,
    })
}

